package resources;

public abstract class ResourceAmount {

	public ResourceAmount() {
		
	}
	
	/**
	 * Return the amount corresponding to the given resource.
	 * @param 	resource
	 * 			Resource for which to return the amount.
	 */
	public abstract long getAmountOf(Resource resource) ;
	
	/**
	 * Return the total amount over all resource.
	 * 
	 * @return 	The sum of amounts over all resources.
	 */
	public abstract long getTotal();


}
